﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004AB RID: 1195
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EquipAetherDividePassiveSkillScRsp : IMessage<EquipAetherDividePassiveSkillScRsp>, IMessage, IEquatable<EquipAetherDividePassiveSkillScRsp>, IDeepCloneable<EquipAetherDividePassiveSkillScRsp>, IBufferMessage
	{
		// Token: 0x17000F5F RID: 3935
		// (get) Token: 0x060035CA RID: 13770 RVA: 0x00093D1B File Offset: 0x00091F1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EquipAetherDividePassiveSkillScRsp> Parser
		{
			get
			{
				return EquipAetherDividePassiveSkillScRsp._parser;
			}
		}

		// Token: 0x17000F60 RID: 3936
		// (get) Token: 0x060035CB RID: 13771 RVA: 0x00093D22 File Offset: 0x00091F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EquipAetherDividePassiveSkillScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F61 RID: 3937
		// (get) Token: 0x060035CC RID: 13772 RVA: 0x00093D34 File Offset: 0x00091F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EquipAetherDividePassiveSkillScRsp.Descriptor;
			}
		}

		// Token: 0x060035CD RID: 13773 RVA: 0x00093D3B File Offset: 0x00091F3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillScRsp()
		{
		}

		// Token: 0x060035CE RID: 13774 RVA: 0x00093D44 File Offset: 0x00091F44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillScRsp(EquipAetherDividePassiveSkillScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.avatarInfo_ = ((other.avatarInfo_ != null) ? other.avatarInfo_.Clone() : null);
			this.aetherSkillInfo_ = ((other.aetherSkillInfo_ != null) ? other.aetherSkillInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060035CF RID: 13775 RVA: 0x00093DAC File Offset: 0x00091FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillScRsp Clone()
		{
			return new EquipAetherDividePassiveSkillScRsp(this);
		}

		// Token: 0x17000F62 RID: 3938
		// (get) Token: 0x060035D0 RID: 13776 RVA: 0x00093DB4 File Offset: 0x00091FB4
		// (set) Token: 0x060035D1 RID: 13777 RVA: 0x00093DBC File Offset: 0x00091FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000F63 RID: 3939
		// (get) Token: 0x060035D2 RID: 13778 RVA: 0x00093DC5 File Offset: 0x00091FC5
		// (set) Token: 0x060035D3 RID: 13779 RVA: 0x00093DCD File Offset: 0x00091FCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfo AvatarInfo
		{
			get
			{
				return this.avatarInfo_;
			}
			set
			{
				this.avatarInfo_ = value;
			}
		}

		// Token: 0x17000F64 RID: 3940
		// (get) Token: 0x060035D4 RID: 13780 RVA: 0x00093DD6 File Offset: 0x00091FD6
		// (set) Token: 0x060035D5 RID: 13781 RVA: 0x00093DDE File Offset: 0x00091FDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherSkillInfo AetherSkillInfo
		{
			get
			{
				return this.aetherSkillInfo_;
			}
			set
			{
				this.aetherSkillInfo_ = value;
			}
		}

		// Token: 0x060035D6 RID: 13782 RVA: 0x00093DE7 File Offset: 0x00091FE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EquipAetherDividePassiveSkillScRsp);
		}

		// Token: 0x060035D7 RID: 13783 RVA: 0x00093DF8 File Offset: 0x00091FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EquipAetherDividePassiveSkillScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.AvatarInfo, other.AvatarInfo) && object.Equals(this.AetherSkillInfo, other.AetherSkillInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060035D8 RID: 13784 RVA: 0x00093E5C File Offset: 0x0009205C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.avatarInfo_ != null)
			{
				num ^= this.AvatarInfo.GetHashCode();
			}
			if (this.aetherSkillInfo_ != null)
			{
				num ^= this.AetherSkillInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060035D9 RID: 13785 RVA: 0x00093EC7 File Offset: 0x000920C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060035DA RID: 13786 RVA: 0x00093ECF File Offset: 0x000920CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060035DB RID: 13787 RVA: 0x00093ED8 File Offset: 0x000920D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aetherSkillInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.AetherSkillInfo);
			}
			if (this.avatarInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.AvatarInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060035DC RID: 13788 RVA: 0x00093F50 File Offset: 0x00092150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.avatarInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AvatarInfo);
			}
			if (this.aetherSkillInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AetherSkillInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060035DD RID: 13789 RVA: 0x00093FC0 File Offset: 0x000921C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EquipAetherDividePassiveSkillScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.avatarInfo_ != null)
			{
				if (this.avatarInfo_ == null)
				{
					this.AvatarInfo = new AetherDivideSpiritInfo();
				}
				this.AvatarInfo.MergeFrom(other.AvatarInfo);
			}
			if (other.aetherSkillInfo_ != null)
			{
				if (this.aetherSkillInfo_ == null)
				{
					this.AetherSkillInfo = new AetherSkillInfo();
				}
				this.AetherSkillInfo.MergeFrom(other.AetherSkillInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060035DE RID: 13790 RVA: 0x00094054 File Offset: 0x00092254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060035DF RID: 13791 RVA: 0x00094060 File Offset: 0x00092260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 18U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						if (this.avatarInfo_ == null)
						{
							this.AvatarInfo = new AetherDivideSpiritInfo();
						}
						input.ReadMessage(this.AvatarInfo);
					}
				}
				else
				{
					if (this.aetherSkillInfo_ == null)
					{
						this.AetherSkillInfo = new AetherSkillInfo();
					}
					input.ReadMessage(this.AetherSkillInfo);
				}
			}
		}

		// Token: 0x04001517 RID: 5399
		private static readonly MessageParser<EquipAetherDividePassiveSkillScRsp> _parser = new MessageParser<EquipAetherDividePassiveSkillScRsp>(() => new EquipAetherDividePassiveSkillScRsp());

		// Token: 0x04001518 RID: 5400
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001519 RID: 5401
		public const int RetcodeFieldNumber = 15;

		// Token: 0x0400151A RID: 5402
		private uint retcode_;

		// Token: 0x0400151B RID: 5403
		public const int AvatarInfoFieldNumber = 2;

		// Token: 0x0400151C RID: 5404
		private AetherDivideSpiritInfo avatarInfo_;

		// Token: 0x0400151D RID: 5405
		public const int AetherSkillInfoFieldNumber = 1;

		// Token: 0x0400151E RID: 5406
		private AetherSkillInfo aetherSkillInfo_;
	}
}
